package com.shop2cn.iapi.points.parameter;

import java.util.List;

import com.shop2cn.iapi.points.pojo.CreditPolicy;
import com.ymt.base.BaseBean;

@SuppressWarnings("serial")
public class SaveCreditPolicyReq extends BaseBean{

	/**
	 * 店铺id
	 */
	private Long shopId;
	
	/**
	 * 积分显示名称
	 */
	private String title;
	
	/**
	 * 分享获取积分每日上限
	 * 0 - 无限制
	 */
	private int sharePerDayLimit;
	
	/**
	 * 积分发放类型
	 */
	private String sendType;
	
	/**
	 * 发货后N天发放积分，积分发放类型为“发货N天后发放”有效
	 */
	private int shippedDays;
	
	/**
	 * 积分过期时间，不传系统默认99年
	 */
	private int expireDays;
	
	/**
	 * 积分最低使用门槛
	 */
	private int useMinLimit;
	
	/**
	 * 订单抵扣最高比例，50%，传50，最大90
	 */
	private int orderDeductLimit;
	
	/**
	 * 适用用户类型
	 */
	private String applyUserType;
	
	/**
	 * 积分策略列表
	 */
	private List<CreditPolicy> policyList;

	public Long getShopId() {
		return shopId;
	}

	public void setShopId(Long shopId) {
		this.shopId = shopId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getSharePerDayLimit() {
		return sharePerDayLimit;
	}

	public void setSharePerDayLimit(int sharePerDayLimit) {
		this.sharePerDayLimit = sharePerDayLimit;
	}

	public String getSendType() {
		return sendType;
	}

	public void setSendType(String sendType) {
		this.sendType = sendType;
	}

	public int getShippedDays() {
		return shippedDays;
	}

	public void setShippedDays(int shippedDays) {
		this.shippedDays = shippedDays;
	}

	public int getExpireDays() {
		return expireDays;
	}

	public void setExpireDays(int expireDays) {
		this.expireDays = expireDays;
	}

	public int getUseMinLimit() {
		return useMinLimit;
	}

	public void setUseMinLimit(int useMinLimit) {
		this.useMinLimit = useMinLimit;
	}

	public int getOrderDeductLimit() {
		return orderDeductLimit;
	}

	public void setOrderDeductLimit(int orderDeductLimit) {
		this.orderDeductLimit = orderDeductLimit;
	}

	public String getApplyUserType() {
		return applyUserType;
	}

	public void setApplyUserType(String applyUserType) {
		this.applyUserType = applyUserType;
	}

	public List<CreditPolicy> getPolicyList() {
		return policyList;
	}

	public void setPolicyList(List<CreditPolicy> policyList) {
		this.policyList = policyList;
	}
}
